<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/1/24 0024
 * Time: 下午 12:03
 */

namespace app\common\validate;


use think\Validate;

class Doctordepartment extends Validate
{

    protected $rule =   [
        'department'  => 'require|unique:doctor_department',

    ];

    protected $message  =   [
        'department.require' => '部门名称',
        'department.unique'   => '部门名称已存在',
    ];

}